#ifndef DOCK_WIDGET_REGISTER_H
#define DOCK_WIDGET_REGISTER_H
#include <QDockWidget>
#include <QObject>

class IDockWidget {
 public:
  // virtual QDockWidget* CreateWidget() = 0;
  virtual QWidget* CreateWidget() = 0;
  virtual void InitWidget() = 0;
  virtual QString GetDockObjectName() = 0;
  virtual QString GetDockWidgetName() = 0;
  virtual Qt::DockWidgetArea GetDockWidgetArea() = 0;
  virtual QDockWidget::DockWidgetFeatures GetDockFeatures() = 0;
};

Q_DECLARE_INTERFACE(IDockWidget, "Interface DockWidget")

#endif